package ja;

/**
 * User: heihaier@xfuweng.com
 * Date: 2015/7/8
 * Time: 17:48
 */
public class A6 {

    public static void main(String[] args) throws ClassNotFoundException {

        ClassLoader cl = ClassLoader.getSystemClassLoader();
        cl.loadClass("ja.A7");
        System.out.println("===================");
        Class.forName("ja.A7");
    }
}

class A7 {

    static {

        System.out.println("A7");
    }

    public A7() {

        System.out.println(123);
    }
}